package com.cevent.yameng.web.mall.storage.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.cevent.common.utils.PageUtils;
import com.cevent.common.utils.Query;

import com.cevent.yameng.web.mall.storage.dao.InventorySkuDao;
import com.cevent.yameng.web.mall.storage.entity.InventorySkuEntity;
import com.cevent.yameng.web.mall.storage.service.InventorySkuService;


@Service("inventorySkuService")
public class InventorySkuServiceImpl extends ServiceImpl<InventorySkuDao, InventorySkuEntity> implements InventorySkuService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<InventorySkuEntity> page = this.page(
                new Query<InventorySkuEntity>().getPage(params),
                new QueryWrapper<InventorySkuEntity>()
        );

        return new PageUtils(page);
    }

}